<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>index1</title>
	</head>
	<script language="JavaScript">
		<script language="javascript">
			function getNum(){
				/*随机数*/
				var k=Math.random()*32;
				return parseInt(k+1);
				}
			/*函数的调用*/
		    alert(getNum());
		</script>
    <body>
	<body>
		js
	</body>
</html>
